//
//  WSOrderModel.h
//  FD
//
//  Created by Yasin on 2018/10/23.
//  Copyright © 2018年 ZhiYuan Network. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface WSOrderModel : NSObject
//只取有用的
/**图片-自定义的 拼接图片域名前缀*/
@property (nonatomic,  copy) NSString *thumbnail;
/**支付金额*/
@property (nonatomic,  strong) NSNumber *actualAmount;
/**订单号，用来获取订订单详情*/
@property (nonatomic,  copy) NSString *orderId;
/**订单份数- 自定义的 */
@property (nonatomic) NSInteger count;
/**订单时间*/
@property (nonatomic, strong) NSNumber *createTime;

//用来给上面的属性赋值的
/**店铺 - 取出里面的 thumbnail */
@property (nonatomic,  strong) NSDictionary *shop;
/**订单数量数组- 用来给 count赋值 */
@property (nonatomic,  strong) NSArray *goodsList;

//
/**订单状态 0：立即支付  1、2、3、4、5：再来一单*/
@property (nonatomic,  strong) NSNumber *status;
/**支付方式 当paymentType=1时，不显示“支付”按钮 */
@property (nonatomic, strong) NSNumber *paymentType;
@end

/**
 {
 "event": "SUCCESS",
 "data": [{
 "shop": {
 "thumbnail": "public/3f5ef24a586e489b9d4581f8a63db30d",
 "name": "Fudi&More(Edenhall)",
 "id": 1
 },
 "createTime": 1539770984000,
 "actualAmount": 173.00,
 "goodsList": [{
 "thumbnail": "public/fb9c59da76494f05b8e7df4d620ddd75",
 "id": 14,
 "title": "小龙虾卷辣堡S双人餐"
 }, {
 "thumbnail": "public/fb9c59da76494f05b8e7df4d620ddd75",
 "id": 18,
 "title": "塔可薯条饮品餐"
 }, {
 "thumbnail": "public/fb9c59da76494f05b8e7df4d620ddd75",
 "id": 17,
 "title": "塔可奥堡双人餐S"
 }],
 "id": "201810170000038",
 "status": 0
 }, {
 "shop": {
 "thumbnail": "public/3f5ef24a586e489b9d4581f8a63db30d",
 "name": "Fudi&More(Edenhall)",
 "id": 1
 },
 "createTime": 1539766799000,
 "actualAmount": 132.00,
 "goodsList": [{
 "thumbnail": "public/fb9c59da76494f05b8e7df4d620ddd75",
 "id": 16,
 "title": "十三鲜小龙虾鸡肉卷"
 }, {
 "thumbnail": "public/fb9c59da76494f05b8e7df4d620ddd75",
 "id": 15,
 "title": "小龙虾卷葡挞饮品餐"
 }, {
 "thumbnail": "public/fb9c59da76494f05b8e7df4d620ddd75",
 "id": 13,
 "title": "塔可小龙虾卷双人餐"
 }],
 "id": "201810170000035",
 "status": 0
 }],
 "describe": ""
 }
 */
